<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="java.util.Calendar"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>업무일지 등록</title>
<link rel="stylesheet" href="${pageContext.request.contextPath }/css/work.css">
<link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<link rel="stylesheet" href="/resources/demos/style.css">
<script type="text/javascript">
$(function() {
	$("#datepicker1").datepicker({
        changeMonth: true, 
        dayNamesMin : ['월', '화', '수', '목', '금', '토', '일'],
        monthNamesShort : ['1','2','3','4','5','6','7','8','9','10','11','12'],
        "dateFormat" : "yymmdd"
 	});
	$("#datepicker2").datepicker({
        changeMonth: true, 
        dayNamesMin : ['월', '화', '수', '목', '금', '토', '일'],
        monthNamesShort : ['1','2','3','4','5','6','7','8','9','10','11','12'],
        "dateFormat" : "yymmdd"
 	});
	});
</script>
</head>
<body>
<% String timeStamp = new SimpleDateFormat("yyyy-MM-dd HH:mm").format(Calendar.getInstance().getTime()); %>
<p>
<img alt="" src="../images/m_work_write.png"/>
<div id="work_wrap"> 
	<label class = 'lbl'>근무 형태</label>&nbsp;&nbsp; <select name="w_type" style="margin-bottom: 6px; font-family: '맑은 고딕';">	
				<option>내&nbsp;&nbsp;근</option>
  				<option>외&nbsp;&nbsp;근</option>
  				<option>출&nbsp;&nbsp;장</option>
  				<option>회&nbsp;&nbsp;의</option>
  				<option>기&nbsp;&nbsp;획</option>
  			</select>  		
  	<br>		
	<label class = 'lbl' style="margin-bottom: 6px;" >보&nbsp;고&nbsp;일</label>
		&nbsp;&nbsp;<%=timeStamp %>
	<br>
	<label class = 'lbl'>기&nbsp;&nbsp;&nbsp;간</label> 
		&nbsp;&nbsp;<input type="text" id="datepicker1" name="w_start_day" size="6" style="margin-bottom: 6px;"> &nbsp;~
		<input type="text" id="datepicker2" name="w_send_day" size="6"style="margin-bottom: 6px;"> &nbsp;
	<br>
	<label class = 'lbl'>제&nbsp;&nbsp;&nbsp;목</label>
		&nbsp;&nbsp;<input type = 'text' size = '70' name ='w_title' maxlength ='20' style="margin-bottom: 6px;"/>
	<br>
	<label class = 'lbl'>내&nbsp;&nbsp;&nbsp;용</label><br>
		&nbsp;&nbsp;<textarea cols="80" name="w_contents" rows="20" style="margin-left: 104px; margin-bottom: 6px;" ></textarea>
	<br>
	<br>
	<input type="image" src="../images/button_blue_submit.png" align="right" style="margin-right: 100px"/>	
</div>

</body>
</html>